%作者 : lws
%时间 : 2021/12/19
%good
syms k z;
Fz = (2*z^2-0.5*z)/(z^2-0.5*z-0.5);
fk = iztrans(Fz,z,k) 
% f(k) = (-1/2)^k + 1